//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace;

import android.content.Context;
import android.os.Handler;
import android.text.TextUtils;
import com.baidu.trace.api.fence.CreateFenceRequest;
import com.baidu.trace.api.fence.OnFenceListener;

final class ab implements Runnable {
    ab(Context var1, Handler var2, CreateFenceRequest var3, OnFenceListener var4, IService var5) {
        this.a = var1;
        this.b = var2;
        this.c = var3;
        this.d = var4;
        this.e = var5;
        super();
    }

    public final void run() {
        String var1;
        if(!TextUtils.isEmpty(var1 = a.a(this.a, this.b, this.c.getTag(), this.c.getFence(), this.d)) && this.e != null) {
            try {
                this.e.handleLocalFence(0, this.c.getFence().getFenceId(), var1);
            } catch (Exception var2) {
                ;
            }
        }
    }
}
